﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SSE657.BahMap.DataAccess
{
    public interface IDistanceDataRetriever // implement via DTOD, or Google Maps, or Yahoo, or Magic 8 ball...
    {
        /// <summary>
        /// Returns the distance (in miles) between two specified ZIP codes.
        /// </summary>
        double GetDistance(int startZIP, int endZIP);

        /// <summary>
        /// Returns all ZIP codes within a specified range (in miles) of a specified ZIP code.
        /// </summary>
        IEnumerable<int> GetZIPsWithinRange(int originZIP, int rangeInMiles);
    }
}
